/*
  a stylesheet to make sure that all cookiebot elements are visible in the dark theme
  (related to issue #8987)
*/

.theme-dark {
  /* main message "Show details" link */
  #CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a {
    color: #4b92ff;
  }

  /* main message "Show details" link arrow */
  #CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a:after {
    color: #fff;
  }

  /* main message "Allow all" link */
  #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept, 
  #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept, 
  #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
    background-color: #2456f2;
    border-color: #2456f2;
  }

  /* main message "Customize" button, dialog "Allow selection" button */
  #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonCustomize,
  #CybotCookiebotDialogBodyButtonsWrapper #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
    color: #FFF;
  }

  /* footer and navigation background color */
  #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton, 
  #CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink {
    background-color: #fff;
    border-color: #fff;
  }

  /* cookie providers' links' color */
  #CybotCookiebotDialogDetailBodyContentCookieContainerTypes .CybotCookiebotDialogDetailBodyContentCookieProvider:not(.CybotCookiebotDialogDetailBodyContentCookieInfoCount), 
  #CybotCookiebotDialogDetailBulkConsentLink {
    color: #fff;
  }

  /* cookie providers' accordion title hover color  */
  #CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentCookieContainerButton:hover, 
  #CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentIABv2Tab:hover, 
  #CybotCookiebotDialogDetailBodyContentCookieContainerTypes .CybotCookiebotDialogDetailBodyContentCookieProvider:not(.CybotCookiebotDialogDetailBodyContentCookieInfoCount):hover {
    color: #fff;
  }

  /* cookie providers' accordion title counter text  */
  #CybotCookiebotDialogTabContent .CybotCookiebotDialogDetailBulkConsentCount {
    color: #000;
  }

  /* cookie provider's footer link */
  #CybotCookiebotDialog #CybotCookiebotDialogBodyContentText a, 
  #CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonIABHeaderViewPartnersLink, 
  #CybotCookiebotDialog #CybotCookiebotDialogDetailBulkConsentList dt a, 
  #CybotCookiebotDialog #CybotCookiebotDialogDetailFooter a, 
  #CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABDescription a, 
  #CybotCookiebotDialog .CybotCookiebotDialogDetailBodyContentCookieLink, 
  #CybotCookiebotDialogDetailBodyContentTextAbout a {
    color: #4b92ff;
  }

  /* cookie provider's cross domain consent */
  #CybotCookiebotDialogDetailBulkConsentLink:hover {
    color: #fff;
  }

  /* Cookiebot logo */
  #CybotCookiebotDialogPoweredbyCybot svg {
    fill: #f5f6f7;
  }
}

/* removing the fader */
.CybotCookiebotFader {
  display: none!important
}